﻿using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace KelonProud.Administration.Domain.Authorization
{
    [Table("KpNavigationRole")]
    public class NavigationRole:Entity
    {
        [Column("NavigationId")]
        public virtual int NavigationId { get; set; }

        [Column("RoleId")]
        public virtual int RoleId { get; set; }

        [ForeignKey("NavigationId")]
        public virtual Navigation Navigation { get; set; }

        [ForeignKey("RoleId")]
        public virtual Role Role { get; set; }
    }
}
